<?php
function isInt( $int, $options=array() ){
	return filter_var($field, FILTER_VALIDATE_INT, $options);
}

function isEmail( $email ){
	$email = filter_var($email, FILTER_SANITIZE_EMAIL);
	return !!filter_var($email, FILTER_VALIDATE_EMAIL);
}

